serial: stm32: Fix bits defines name
authorPatrice Chotard <[email protected]>
Thu, 17 May 2018 12:50:43 +0000 (14:50 +0200)
committerTom Rini <[email protected]>
Sat, 26 May 2018 22:19:17 +0000 (18:19 -0400)
commitbe1a6f775e7615f93b7d9ef3bdbcbb335dbfea6e
treecae53c5afbd610fad7ce5f814d5574a66badbf53
parent215c8bed126313afd8c3b978c95b35ce7252c9c7
serial: stm32: Fix bits defines name

Rename USART_ISR_FLAG_xxx bits to USART_ISR_xxx bits and
USART_ICR_OREF to USART_ICR_ORECF in order to match datasheets.
Sort defines by descendant order.

Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/serial/serial_stm32.c
drivers/serial/serial_stm32.h